#ifndef SHOWIMAGE_H
#define SHOWIMAGE_H

#include <QWidget>

class showImage : public QWidget
{
    Q_OBJECT
public:
    explicit showImage(QWidget *parent = nullptr);
    void showImg(QImage img);
    int getResult();
protected:
    void paintEvent(QPaintEvent *event);
    void mousePressEvent(QMouseEvent *event);
signals:

public slots:
private:
    QImage m_img;

    bool isHorizon;
    int m_pos;

};

#endif // SHOWIMAGE_H
